package com.onexercise.zx;

public class BanJi {

	private String classname;
	private String fdyname;
	
	
	public BanJi(String classname, String fdyname) {
		super();
		this.classname = classname;
		this.fdyname = fdyname;
	}


	@Override
	public String toString() {
		return "BanJi [classname=" + classname + ", fdyname=" + fdyname + "]";
	}


	public String getClassname() {
		return classname;
	}


	public void setClassname(String classname) {
		this.classname = classname;
	}


	public String getFdyname() {
		return fdyname;
	}


	public void setFdyname(String fdyname) {
		this.fdyname = fdyname;
	}


	class Student{
		private String stuname;
		private int age;
		
		
		public Student(String stuname, int age) {
			super();
			this.stuname = stuname;
			this.age = age;
		}
		

		@Override
		public String toString() {
			return "Baji"+BanJi.this.classname+""+BanJi.this.fdyname+"Student [stuname=" +stuname + ", age=" +age + "]";
		}


		public void print() {
		}
	}
}
